#include <QCoreApplication>
#include <iostream>
#include <math.h>
using namespace std;

int main(int argc, char * argv[])
{
  int A, B, C;
  cout<<"Vvedite chisla A,B,C  ";
  cin>>A;
  cin>>B;
  cin>>C;
  if (A>0 & B>0 & C>0)

                cout<<"Nepravda";
          else
              if (A>0 & B>0 & C<0)

              cout<<"Pravda";
                      else
                          if (A>0 & B<0 & C>0)

                          cout<<"Pravda";
                                  else

                                      if (A<0 & B>0 & C>0)
                                      cout<<"Pravda";

                                          if (A<0 & B<0 & C>0)
                                                  cout<<"Nepravda";

                                                        if (A>0 & B<0 & C<0)

                                                                      cout<<"Nepravda";
                                                                    if (A<0 & B>0 & C<0)

                                                                       cout<<"Nepravda";

                                                                          if (A<0 & B<0 & C<0)

                                                                               cout<<"Nepravda";

  return 0;
}
